﻿package sprites 
{
	import org.flixel.FlxSprite;
	
	/**
	 * ...
	 * @author test
	 */
	public class Bullet extends FlxSprite
	{
		[Embed(source = "../../bin/imgs/bullet.png")]	private var bGraphic:Class;
		
		public var _w:Weapon;
		
		override public function update():void 
		{
			super.update();
		}
		
		public function Bullet(__w:Weapon, X:Number = 0, Y:Number = 0, SimpleGraphic:Class = null) 
		{
			super(X, Y, SimpleGraphic);
			
			exists = false;
			_w = __w;
			this.loadGraphic(bGraphic);
		}
		
	}

}